<?php

class Admin_Model_Resource extends Zend_Db_Table_Abstract
{
    protected $_name = 'resources';
    public function getAllData(){
        $query = $this->select()
                    ->from($this->_name, array('id','resourceName'));
        
        return $this->fetchAll($query);
    }
}